/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __HAL_LINK_H_
#define __HAL_LINK_H_

#include "lvgl/lvgl.h"

typedef struct _hal_link_t
{
    void (*hal_link_handler)(void);
    void (*tx_calib_buff)(uint16_t *data);
    void (*tx_mode)(uint8_t mode);
    void (*buzz_di)(void);

    void (*tx_u8)(uint8_t fun, uint8_t data);
    void (*tx_u8_2)(uint8_t fun, uint8_t data, uint8_t data2);
} hal_link_t;

#include "linux_link.h"
#include "win_link.h"

void hal_link_init(void);
void hal_link_handler(void);
extern hal_link_t *hal_link;

#endif /* __HAL_LINK_H_ */

/******************* (H) COPYRIGHT 2025 FUYEBING*****END OF FILE************/